<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_number" data-rule="required" class="form-control" name="row[student_number]" type="number" value="{$row.student_number|htmlentities}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Work_station_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-work_station_dict" data-rule="required" class="form-control selectpicker" name="row[work_station_dict]">
                {foreach name="workStationDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.work_station_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Exametime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-exametime" data-rule="required" class="form-control"  name="row[exametime]" type="text" value="{$row.exametime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Major_level_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-major_level_dict" data-rule="required" class="form-control selectpicker" name="row[major_level_dict]">
                {foreach name="majorLevelDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.major_level_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Major_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-major_id" data-rule="required" data-source="school/major/index" class="form-control selectpage" name="row[major_id]" type="text" value="{$row.major_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_type_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-student_type_dict" data-rule="required" class="form-control selectpicker" name="row[student_type_dict]">
                {foreach name="studentTypeDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.student_type_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_id_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_id_code" data-rule="required" class="form-control" name="row[student_id_code]" type="text" value="{$row.student_id_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_sex')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-student_sex" data-rule="required" class="form-control selectpicker" name="row[student_sex]">
                {foreach name="studentSexList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.student_sex"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_birthday')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_birthday" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[student_birthday]" type="text" value="{$row.student_birthday}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_nation')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_nation" data-rule="required" class="form-control" name="row[student_nation]" type="text" value="{$row.student_nation|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_birth_localtion')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_birth_localtion" data-rule="required" class="form-control" name="row[student_birth_localtion]" type="text" value="{$row.student_birth_localtion|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_political_status_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-student_political_status_dict" data-rule="required" class="form-control selectpicker" name="row[student_political_status_dict]">
                {foreach name="studentPoliticalStatusDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.student_political_status_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_mail_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_mail_address" data-rule="required" class="form-control" name="row[student_mail_address]" type="text" value="{$row.student_mail_address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_postcode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_postcode" data-rule="required" class="form-control" name="row[student_postcode]" type="text" value="{$row.student_postcode|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_tel" data-rule="required" class="form-control" name="row[student_tel]" type="text" value="{$row.student_tel|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Studentimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-studentimage" class="form-control" size="50" name="row[studentimage]" type="text" value="{$row.studentimage|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-studentimage" class="btn btn-danger plupload" data-input-id="c-studentimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-studentimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-studentimage" class="btn btn-primary fachoose" data-input-id="c-studentimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-studentimage"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-studentimage"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_login_pwd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_login_pwd" data-rule="required" class="form-control" name="row[student_login_pwd]" type="text" value="{$row.student_login_pwd|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_last_level_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-student_last_level_dict" data-rule="required" class="form-control selectpicker" name="row[student_last_level_dict]">
                {foreach name="studentLastLevelDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.student_last_level_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_last_school')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_last_school" data-rule="required" class="form-control" name="row[student_last_school]" type="text" value="{$row.student_last_school|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_work_unit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_work_unit" data-rule="required" class="form-control" name="row[student_work_unit]" type="text" value="{$row.student_work_unit|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_work_unit_tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_work_unit_tel" class="form-control" name="row[student_work_unit_tel]" type="text" value="{$row.student_work_unit_tel|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Scoure_politics')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-scoure_politics" class="form-control" name="row[scoure_politics]" type="number" value="{$row.scoure_politics|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Scoure_chinese')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-scoure_chinese" class="form-control" name="row[scoure_chinese]" type="number" value="{$row.scoure_chinese|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Scoure_math')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-scoure_math" class="form-control" name="row[scoure_math]" type="number" value="{$row.scoure_math|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Scoure_english')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-scoure_english" class="form-control" name="row[scoure_english]" type="number" value="{$row.scoure_english|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Scoure_add')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-scoure_add" class="form-control" name="row[scoure_add]" type="number" value="{$row.scoure_add|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Scoure_sum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-scoure_sum" class="form-control" name="row[scoure_sum]" type="number" value="{$row.scoure_sum|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_last_type_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-student_last_type_dict" data-rule="required" class="form-control selectpicker" name="row[student_last_type_dict]">
                {foreach name="studentLastTypeDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.student_last_type_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_last_starttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_last_starttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[student_last_starttime]" type="text" value="{$row.student_last_starttime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_last_endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_last_endtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[student_last_endtime]" type="text" value="{$row.student_last_endtime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-student_remark" class="form-control" name="row[student_remark]" type="text" value="{$row.student_remark|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_by')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_by" class="form-control" name="row[create_by]" type="text" value="{$row.create_by|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_by')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_by" class="form-control" name="row[update_by]" type="text" value="{$row.update_by|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
